/* tcpinit.c - tcpinit */

#include "tcb.h"
#include "tcpfms.h"

/*------------------------------------------------------------------------
 *  tcpinit  -  initialize TCP slave pseudo device marking it free
 *------------------------------------------------------------------------
 */
int tcpinit(int tcbnum)
{
    tcbnum = tcbnum;
    printf("WARNING: tcpinit foi chamada\n");
    /*
    struct	tcb	*tcb;

    sem_init(&tcps_tmutex, 0, 1);
    tcps_lqsize = 5;	// default listen Q size

    //pdev->dvioblk = (char *) (tcb = &tcbtab[pdev->dvminor]);
    tcb = tcbtab[tcbnum];
    tcb->tcb_dvnum = tcbnum; //pdev->dvnum;
    tcb->tcb_state = TCPS_FREE;
    */
    return OK;
}